import Vue from 'vue'
import Router from 'vue-router'
import datatableArray from '@/components/datatableArray'
import datatableDb from '@/components/datatableDb'
import mainview from '@/components/mainview'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'mainview',
      component: mainview
    },
    {
      path: '/datatableDb',
      name: 'datatableDb',
      component: datatableDb
    },
    {
      path: '/datatableArray',
      name: 'datatableArray',
      component: datatableArray
    },
  ]
})
